﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Brainee.Search;

namespace Brainee.Optimization
{
  public class OptimizationState
  {
    /// <summary>
    /// The state in the problem state space to which this search state corresponds.
    /// </summary>
    public IState State { get; private set; }

    public double Value { get; private set; }

    public OptimizationState (IState s, double v)
    {
      State = s;
      Value = v;
    }
  }
}
